package org.jeecg.modules.demo.sysuser.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: sys_user
 * @Author: jeecg-boot
 * @Date:   2025-04-27
 * @Version: V1.0
 */
@DS("multi-datasource1")
@Data
@TableName("sys_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sys_user对象", description="sys_user")
public class SysUser implements Serializable {
    private static final long serialVersionUID = 1L;

	/**用户编号*/
    @TableId(type = IdType.ASSIGN_ID)
	@Excel(name = "用户编号", width = 15)
    @ApiModelProperty(value = "用户编号")
    private Integer userid;
	/**系统编号*/
	@Excel(name = "系统编号", width = 15)
    @ApiModelProperty(value = "系统编号")
    private Integer sysid;
	/**登录名*/
	@Excel(name = "登录名", width = 15)
    @ApiModelProperty(value = "登录名")
    private String loginname;
	/**登陆密码*/
	@Excel(name = "登陆密码", width = 15)
    @ApiModelProperty(value = "登陆密码")
    private String password;
	/**用户姓名*/
	@Excel(name = "用户姓名", width = 15)
    @ApiModelProperty(value = "用户姓名")
    private String username;
	/**性别*/
	@Excel(name = "性别", width = 15)
    @ApiModelProperty(value = "性别")
    private String sex;
	/**角色编号字符串*/
	@Excel(name = "角色编号字符串", width = 15)
    @ApiModelProperty(value = "角色编号字符串")
    private String roleid;
	/**所属交易商或部门编号*/
	@Excel(name = "所属交易商或部门编号", width = 15)
    @ApiModelProperty(value = "所属交易商或部门编号")
    private Integer orgid;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
    private String certno;
	/**移动电话*/
	@Excel(name = "移动电话", width = 15)
    @ApiModelProperty(value = "移动电话")
    private String mobile;
	/**电子邮件*/
	@Excel(name = "电子邮件", width = 15)
    @ApiModelProperty(value = "电子邮件")
    private String email;
	/**用户类型*/
	@Excel(name = "用户类型", width = 15)
    @ApiModelProperty(value = "用户类型")
    private String usertype;
	/**是否有效*/
	@Excel(name = "是否有效", width = 15)
    @ApiModelProperty(value = "是否有效")
    private String isvalid;
	/**买卖类型*/
	@Excel(name = "买卖类型", width = 15)
    @ApiModelProperty(value = "买卖类型")
    private String maimlx;
	/**录入人*/
	@Excel(name = "录入人", width = 15)
    @ApiModelProperty(value = "录入人")
    private Integer operator;
	/**录入时间*/
	@Excel(name = "录入时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "录入时间")
    private Date operationtime;
	/**lastlogin*/
	@Excel(name = "lastlogin", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "lastlogin")
    private Date lastlogin;
	/**iplimit*/
	@Excel(name = "iplimit", width = 15)
    @ApiModelProperty(value = "iplimit")
    private String iplimit;
	/**用户状态*/
	@Excel(name = "用户状态", width = 15)
    @ApiModelProperty(value = "用户状态")
    private String userverifystatus;
	/**注册来源*/
	@Excel(name = "注册来源", width = 15)
    @ApiModelProperty(value = "注册来源")
    private String regsource;
	/**userpicurl*/
	@Excel(name = "userpicurl", width = 15)
    @ApiModelProperty(value = "userpicurl")
    private String userpicurl;
	/**ID*/

    @ApiModelProperty(value = "ID")
    private Integer id;
	/**worktypeid*/
	@Excel(name = "worktypeid", width = 15)
    @ApiModelProperty(value = "worktypeid")
    private Integer worktypeid;
	/**微信号*/
	@Excel(name = "微信号", width = 15)
    @ApiModelProperty(value = "微信号")
    private String openid;
	/**appid*/
	@Excel(name = "appid", width = 15)
    @ApiModelProperty(value = "appid")
    private String appid;
}
